package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the STU database table.
 * 
 */
@Entity
@NamedQuery(name="Stu.findAll", query="SELECT s FROM Stu s")
public class Stu implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private long id;

	@Temporal(TemporalType.DATE)
	private Date birthday;

	private java.math.BigDecimal classid;

	private String name;

	private String sex;

	private String status;

	public Stu() {
	}

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public java.math.BigDecimal getClassid() {
		return this.classid;
	}

	public void setClassid(java.math.BigDecimal classid) {
		this.classid = classid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}